<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>my-index</title>
  <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'>
  <link rel="icon" href="./favicon.ico">
  <link rel="stylesheet" href="./lib/fa/css/font-awesome.css">
  <link rel="stylesheet" href="./lib/mui/css/mui.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/category.css">
</head>

<body>

  <div class="lt_container">
    <!-- 头部 -->
    <div class="lt_header">
      <div class="icon_left">
        <a href="javascript:history.back();" class="mui-icon mui-icon-back"></a>
      </div>
      <div class="icon_right">
        <a href="search.html" class="fa fa-search"></a>
      </div>
      <h4>乐淘分类</h4>
    </div>
    <!-- 内容 -->
    <div class="lt_main ">
      <!-- 左侧一级导航 -->
      <div class="left_first ">
        <div class="mui-scroll-wrapper">
          <div class="mui-scroll">
            <!--这里放置真实显示的DOM内容-->
            <ul class="first_nav">
             
            </ul>

          </div>
        </div>
      </div>
      <!-- 右侧二级导航 -->
      <div class="right_second">
        <div class="mui-scroll-wrapper">
          <div class="mui-scroll ">
            <!--这里放置真实显示的DOM内容-->
            <ul class="mui-clearfix second_nav">
              
            </ul>
          </div>
        </div>
      </div>

    </div>
    <!-- 底部 -->
    <div class="lt_footer">
      <ul class="mui-clearfix">
        <li >
          <a href="index.html">
            <span class="fa fa-home"></span>
            <p>首页</p>
          </a>
        </li>
        <li class="now">
          <a href="category.html">
            <span class="fa fa-bars"></span>
            <p>分类</p>
          </a>
        </li>
        <li>
          <a href="cart.html">
            <span class="fa fa-shopping-cart"></span>
            <p>购物车</p>
          </a>
        </li>
        <li>
          <a href="user.html">
            <span class="fa fa-user"></span>
            <p>会员中心</p>
          </a>
        </li>
      </ul>
    </div>
  </div>

    <script type="text/template" id = "tmp">
      {{each rows v i}}
      <li  data-id = {{v.id}} class = {{i===0?"active":""}} >
          <a href="#">{{v.categoryName}}</a>
      </li>
      {{/each}}
    </script>

    <script type="text/template" id="tmp2">
      {{if rows.length === 0}}
      <p>无</p>
      {{/if}}
      {{each rows v i}}
      <li class = "active">
          <a href="#">
            <img src="{{v.brandLogo}}" alt="">
            <p>{{v.brandName}}</p>
          </a>
      </li>
      {{/each}}
    </script>

  <script src="./lib/zepto/zepto.min.js"></script>
  <script src="./lib/mui/js/mui.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/category.js"></script>
  <script>



  </script>
</body>

</html>